package com.bawei.park2302.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.launcher.ARouter
import com.bawei.lib_base.utils.utils.mvi.BaseViewFragment
import com.bawei.park2302.R
import com.bawei.park2302.databinding.FragmentServiceBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class ServiceFragment : BaseViewFragment<FragmentServiceBinding>() {
    override val binding: FragmentServiceBinding by lazy {
        FragmentServiceBinding.inflate(layoutInflater)
    }

    override fun initView() {
        binding.servicePark.setOnClickListener {
            ARouter.getInstance().build("/app/ParkActivity").navigation()
        }

        binding.serviceVisit.setOnClickListener {
            ARouter.getInstance().build("/app/VisitActivity").navigation()
        }

        binding.serviceRepair.setOnClickListener {
            ARouter.getInstance().build("/app/RepairActivity").navigation()
        }
    }

    override fun initData() {

    }
}